package com.ruoyi.common.exception.backendEnum;

public enum MineException {

    MINE_DATA_NOT_EXIST(400,"矿山管理信息数据不存在"),
    MINE_DATA_NOT_FOUND(400,"矿山管理信息数据未查询到");

    private final int code;
    private final String message;

    MineException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}

